package com.woniu.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.order.form.AddOrderDetailForm;
import com.woniu.order.model.OrderDetails;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年05月23日
 */
public interface OrderDetailsService extends IService<OrderDetails> {
    /**
     * 根据订单编号返回订单详情
     * @param orderId
     * @return
     */
    List<OrderDetails> selectAllOrderDetailByOrderId(String orderId);


    List<OrderDetails> employeeQuery(AddOrderDetailForm form, Integer userId,String orderNum,String image);


}
